package com.hotel;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling // 开启定时发布
@SpringBootApplication
@MapperScan("com.hotel.*.mapper") // 扫描hotel包下的所有mapper包
public class HotelSystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(HotelSystemApplication.class,args);
    }
}
